package com.stm.bi.constant;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import static com.stm.bi.constant.ProductTrendConstants.*;

/**
 * @Description:
 * @Author: bo
 * @Date: 2023/06/30 16:05
 */
public class DimensionConstants {


    /**
     * 默认维度
     */
    public final static Long DEFAULT_DIMENSION_ID = 0L;

    /**
     * 默认维度
     */
    public final static String DEFAULT_DIMENSION_NO = "D000000";

    /**
     * 默认维度
     */
    public final static String DEFAULT_DIMENSION_INDEX_NAME = "default";

    /**
     * 顾客等级维度
     */
    public final static Long CUSTOMER_LEVEL_DIMENSION_ID = 7543298288192512L;


    /**
     * 合作业态维度ID
     */
    public final static Long FORMAT_COOPERATIVE_DIMENSION_ID = 7558074266717696L;
    /**
     * 合作业态维度编码
     */
    public final static String FORMAT_COOPERATIVE_DIMENSION_NO = "D002001";


    /**
     * 生活业态维度ID
     */
    public final static Long FORMAT_LIFE_DIMENSION_ID = 7558074588103680L;
    /**
     * 生活业态维度编码
     */
    public final static String FORMAT_LIFE_DIMENSION_NO = "D002002";


    /**
     * 渠道业态维度ID
     */
    public final static Long FORMAT_CHANNEL_DIMENSION_ID = 7544240787719168L;
    /**
     * 渠道业态维度编码
     */
    public final static String FORMAT_CHANNEL_DIMENSION_NO = "D002003";


    /**
     * 投资业态维度ID
     */
    public final static Long FORMAT_INVESTMENT_DIMENSION_ID = 7558074846842368L;
    /**
     * 投资业态维度编码
     */
    public final static String FORMAT_INVESTMENT_DIMENSION_NO = "D002004";



    /**
     * 招聘业态维度ID
     */
    public final static Long DIMENSION_RECRUIT = 7750234293272576L;
    /**
     * 培训业态维度ID
     */
    public final static Long DIMENSION_TRAINING = 7750543584296960L;


    /**
     * 品类维度ID
     */
    public final static Long PRODUCT_CATEGORY_DIMENSION_ID = 7544243391464448L;
    /**
     * 品种维度ID
     */
    public final static Long PRODUCT_ASSORTMENT_DIMENSION_ID = 7606129138599936L;
    /**
     * 款式维度ID
     */
    public final static Long PRODUCT_STYLE_DIMENSION_ID = 7558076517387776L;
    /**
     * 款式类型维度ID
     */
    public final static Long PRODUCT_STYLE_TYPE_DIMENSION_ID = 7558077450257408L;


    /**
     * 店铺维度ID
     */
    public final static Long SHOP_DIMENSION_ID = 7550054891718144L;

    /**
     * 区域维度
     */
    public final static Long REGION_DIMENSION_ID = 7898049152124672L;
    /**
     * 城市维度
     */
    public final static Long CITY_DIMENSION_ID = 7544253146858496L;
    /**
     * 城市维度
     */
    public final static Long PROVINCE_DIMENSION_ID = 7544242265457664L;

    public final static List<Long> PRODUCT_DIMENSION_IDS = new ArrayList<>(Arrays.asList(PRODUCT_CATEGORY_DIMENSION_ID,PRODUCT_ASSORTMENT_DIMENSION_ID,PRODUCT_STYLE_DIMENSION_ID,PRODUCT_STYLE_TYPE_DIMENSION_ID));
    public final static List<Long> FORMAT_DIMENSION_IDS = new ArrayList<>(Arrays.asList(FORMAT_COOPERATIVE_DIMENSION_ID,FORMAT_LIFE_DIMENSION_ID,FORMAT_CHANNEL_DIMENSION_ID,FORMAT_INVESTMENT_DIMENSION_ID));

    public final static Long RETURN_PROD_CATEGORY_DIMENSION_ID = 8500244168212992L;

    public final static Long RETURN_PROD_ASSORTMENT_DIMENSION_ID = 8500244510802432L;

    public final static Long RETURN_PROD_STYLE_DIMENSION_ID = 8500244868989440L;

    public final static Long RETURN_REASON_DIMENSION_ID = 8696160310334720L;

    public final static Long DIGESTIBILITY_PROD_CATEGORY_DIMENSION_ID = 8500237803586048L;

    public final static Long DIGESTIBILITY_PROD_ASSORTMENT_DIMENSION_ID = 8500240108192256L;

    public final static Long DIGESTIBILITY_PROD_STYLE_DIMENSION_ID = 8500240673931776L;
    /**
     * toB顾客的维度ID
     */
    public final static Long TO_B_CUSTOMER_DIMENSION_ID = 1284260354580512L;

    /**
     * 商品政策
     */
    public final static String PRODUCT_POLICY = "02";
    public final static String FORMAT_POLICY = "01";
    public final static String PERSONNEL_POLICY = "12";
    public final static String TALENTS_POLICY = "21";


    public static final List<Long> STYLE_DIMENSION_IDS = Arrays.asList(PRODUCT_STYLE_DIMENSION_ID, DIGESTIBILITY_STYLE, RETURN_CATEGORY);

    public static final List<Long> CATEGORY_DIMENSION_IDS = Arrays.asList(PRODUCT_CATEGORY_DIMENSION_ID, DIGESTIBILITY_CATEGORY, RETURN_ASSORTMENT);

    public static final List<Long> ASSORTMENT_DIMENSION_IDS = Arrays.asList(PRODUCT_ASSORTMENT_DIMENSION_ID, DIGESTIBILITY_ASSORTMENT, RETURN_STYLE);

    public final static Long MUYIN_ORG_ID = 8418764384246016L;
    public final static Long DEMO_ORG_ID = 1234131555549248L;
    public static final List<Long> ORG_IDS = Arrays.asList(MUYIN_ORG_ID, DEMO_ORG_ID);

}
